set terminal png enhanced
set logscale y
set key top left
set output "clouduptime.png"
set xlabel "VM Instances Requested"
set ylabel "time in min to get instances up"
#plot 'serial_individual_cloud.txt' using 1:2 title "latencies" with histogram, 'serial_individual_cloud.txt' using 1:3 title "clock accuracies" with histogram
#plot 'clouduptime.txt' u 1:2 w lp lw 3 title "EC2 us-east", 'clouduptime.txt' u 1:2:3 w errorbars lw 3 title "EC2 us-east stdev", 'clouduptime.txt' u 1:4 w lp lw 3 title "EC2 us-west", 'clouduptime.txt' u 1:4:5 w errorbars lw 3 title "EC2 us-west stdev", 'clouduptime.txt' u 1:6 w lp lw 3 title "Cornell RedCloud", 'clouduptime.txt' u 1:6:7 w errorbars  lw 3 title "Cornell RedCloud stdev", 'clouduptime.txt' u 1:8 w lp lw 3 title "Futuregrid Cloud", 'clouduptime.txt' u 1:8:9 w errorbars  lw 3 title "Futuregrid stdev"
plot 'clouduptime.txt' u 1:2 w lp lw 3 title "EC2 us-east", 'clouduptime.txt' u 1:2:3 w errorbars lw 3 notitle, 'clouduptime.txt' u 1:4 w lp lw 3 title "EC2 us-west", 'clouduptime.txt' u 1:4:5 w errorbars lw 3 notitle, 'clouduptime.txt' u 1:6 w lp lw 3 title "Cornell RedCloud", 'clouduptime.txt' u 1:6:7 w errorbars lw 3 notitle, 'clouduptime.txt' u 1:8 w lp lw 3 title "Futuregrid Cloud", 'clouduptime.txt' u 1:8:9 w errorbars  lw 3 notitle
